import { defineConfig } from 'vite' // 引入配置项

// 导出配置
export default defineConfig({
  server: {
    port: 25040,
    open: true,
    proxy: {
      '/bw': {
        target: '',
        changeOrigin: true,
        rewrite: path => path.replace(/\/bw/, '')
      }
    }
  }
})


